#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonCryptor.h>
@interface NSData (Encryption)
- (NSData *)AESEncryptWithKey:(NSString *)key;   
- (NSData *)AESDecryptWithKey:(NSString *)key;   
- (NSData *)AES256EncryptWithKey:(NSString *)key;   
- (NSData *)AES256DecryptWithKey:(NSString *)key;   
- (NSString *)newStringInBase64FromData;            
+ (NSString*)base64encode:(NSString*)str;           
@end
